package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentEqpBom;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


/**
 * 设备BOMService接口
 *
 * @author Cheng
 * @date 2023-07-01
 */
public interface EquipmentEqpBomService extends BaseService<EquipmentEqpBom> {

    /**
     * 更换BOM
     * @param equipmentEqpBom
     */
    void change(EquipmentEqpBom equipmentEqpBom);

    Page<EquipmentEqpBom> listPageWithItem(Pageable page, Criteria criteria);
}
